package com.NeuglsWorkStudio.UI.FormElement.Interfaces
{
	public interface IMediaControl
	{
		function Play():void;
		function Stop():void;
		function Pause():void;
		
		function get PlayStatus():int;
		
		function Seek(Pos:Number):void;
		
		function get CurrentPos():Number;
		function get Duration():Number;
		
		function get Volume():Number;
		function set Volume(value:Number):void;
		
		function set OnPlay(value:Function):void;
		function set OnPause(value:Function):void;
		
		function set x(value:Number):void
		function get x():Number;
		
		function set y(value:Number):void
		function get y():Number;
		
		function set Width(value:Number):void;
		function get Width():Number;
		
		function set Height(value:Number):void;
		function get Height():Number;
		
		
		/**这个函数本不应该存在，这是因为在FlipPage放大缩小之间进行同步时，播放器无法正确获得时间总长而添加的
		 * 如果不是用在FlipPage上，请不要使用该方法*/
		function SetDuration(val:Number):void;
		
		function Toggle():void;
	}
}